home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-10-22 | 807 b | 29 lines | [TEXT/CWIE] |
- //////////////////////////////////////////////
- // //
- // Generator.h //
- // //
- // Copyright 1996 1 A.M. Productions //
- // Aug 8,1996 //
- // //
- //////////////////////////////////////////////
-
- #ifndef __MAIN__
- #define __MAIN__
-
- #define kCancelButton 2
- #define kOKButton 1
- #define kESC 0x35
-
- #define KeyMapLoMem ((unsigned char *)0x174)
- #define ThisKey(key) ((KeyMapLoMem[key >> 3] >> (key & 7)) & 1)
-
- void main();
- void CalculateValues(long start, long end);
- void ProduceValue(long num, Str255 retStr);
- void GetNumbers(long *start,long *end);
- //void CopyString(Str255 destination,Str255 source);
- pascal Boolean StdFilter(DialogPtr theDialog, EventRecord *theEvent, short *itemHit);
- void LongToStr(long num, Str255 str);
- //Boolean CheckValue(Str255 valStr);
-
- #endif